package cn.cloud9.designpattern.dp05proxy.proxy_02_cglib.po;

import java.time.LocalDateTime;

/**
 * @projectName: Java
 * @author: 戴知舟
 * @date: 2022年05月23日 14:11
 * @version: 1.0
 */
public class Student {
    protected Integer id;
    private String name;
    private LocalDateTime birth;

    public Student() {
    }

    public Student(Integer id, String name, LocalDateTime birth) {
        this.id = id;
        this.name = name;
        this.birth = birth;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public LocalDateTime getBirth() {
        return birth;
    }

    public void setBirth(LocalDateTime birth) {
        this.birth = birth;
    }

    @Override
    public String toString() {
        return "Student{" + "id=" + id + ", name='" + name + '\'' + ", birth=" + birth + "} " + this.hashCode();
    }
}
